package com.hk.Mgr.web.message.kyc;

import java.math.BigDecimal;

import javax.persistence.Version;


public class CardRes {

	
	private Integer id;

	/**
	 * 加息率、代金券金额
	 */
	private BigDecimal rate;
	
	/**
	 * 积分规则的ID
	 */
	private Integer pointsRuleId;
	
	private String pointsRuleDesc = "";
	 

	/**
	 * 创建时间
	 */
	private Long cts;

	/**
	 * 创建人
	 */
	private Long creator;

	/**
	 * 卡券的类型， 1为增加利息， 2是代替本金
	 */
	private Integer type;
	
	/**
	 * 活动开始时间
	 */
	private Long startDate;
	
	private String startDateStr;
	
	/**
	 * 卡券有效期截止时间
	 */
	private Long expireDate;
	
	
	/**
	 * 卡券有效期截止时间
	 */
	private String expireDateStr;
	

	/**
	 * 活动结束时间
	 */
	private Long endDate;
	
	private String endDateStr;

	/**
	 * 发放送数
	 */
	private Integer totalNum = 0;

	/**
	 * 已领取数目
	 */
	private Integer usedNum = 0;

	/**
	 * 描述内容
	 */
	private String cardDesc;
	
	
	private Integer score = 0;
	
	 
	
	@Version
	private int version;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public BigDecimal getRate() {
		return rate;
	}

	public void setRate(BigDecimal rate) {
		this.rate = rate;
	}

	public Long getCts() {
		return cts;
	}

	public void setCts(Long cts) {
		this.cts = cts;
	}

	public Long getCreator() {
		return creator;
	}

	public void setCreator(Long creator) {
		this.creator = creator;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	 

	public Integer getTotalNum() {
		return totalNum;
	}

	public void setTotalNum(Integer totalNum) {
		this.totalNum = totalNum;
	}

	public Long getStartDate() {
		return startDate;
	}

	public Long getEndDate() {
		return endDate;
	}

	public Integer getUsedNum() {
		return usedNum;
	}

	public void setUsedNum(Integer usedNum) {
		this.usedNum = usedNum;
	}

	public String getCardDesc() {
		return cardDesc;
	}

	public void setCardDesc(String cardDesc) {
		this.cardDesc = cardDesc;
	}

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}

	public Integer getPointsRuleId() {
		return pointsRuleId;
	}

	public void setPointsRuleId(Integer pointsRuleId) {
		this.pointsRuleId = pointsRuleId;
	}

	 
	 

	public String getStartDateStr() {
		return startDateStr;
	}

	public void setStartDateStr(String startDateStr) {
		this.startDateStr = startDateStr;
	}

	public String getEndDateStr() {
		return endDateStr;
	}

	public void setEndDateStr(String endDateStr) {
		this.endDateStr = endDateStr;
	}

	public void setStartDate(Long startDate) {
		this.startDate = startDate;
	}

	public void setEndDate(Long endDate) {
		this.endDate = endDate;
	}

	public String getPointsRuleDesc() {
		return pointsRuleDesc;
	}

	public void setPointsRuleDesc(String pointsRuleDesc) {
		this.pointsRuleDesc = pointsRuleDesc;
	}

	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	/**
	 * @return the expireDate
	 */
	public Long getExpireDate() {
		return expireDate;
	}

	/**
	 * @param expireDate the expireDate to set
	 */
	public void setExpireDate(Long expireDate) {
		this.expireDate = expireDate;
	}

	/**
	 * @return the expireDateStr
	 */
	public String getExpireDateStr() {
		return expireDateStr;
	}

	/**
	 * @param expireDateStr the expireDateStr to set
	 */
	public void setExpireDateStr(String expireDateStr) {
		this.expireDateStr = expireDateStr;
	}
	

}


 
